<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width= , initial-scale=1.0">
	<title>Document</title>
</head>
<body>
	<script>
		function  fn(a=100,b=12){
			console.log(a,b);
		}
		fn()
		//对象结构
		function func({a=23,b=23}){
			console.log(a,b);
		}
		let obj={
			a:12,
			b:13,
			c:14
		}
		func(obj)
	</script>
</body>
</html>